package advanced.datastructure;

import java.util.Comparator;

public class StudentNameComparator implements Comparator<Student>{

	@Override
	public int compare(Student s1, Student s2) {
		String name1 = s1.getName().toLowerCase();
		String name2 = s2.getName().toLowerCase();
		
		return name1.compareTo(name2);
	}
}
